package com.zz.man.repository;

import com.zz.man.domian.Man;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface ManRepository extends JpaRepository<Man,Integer> {

    //通过年龄来查询
    public List<Man> findByAge(Integer age);
}
